package com.yugao.fintech.antelope.auth.assembly;

import com.yugao.fintech.antelope.auth.model.entity.ExtLdpConnect;
import com.yugao.fintech.antelope.auth.model.rqrs.ldp.ExtLdpConnectResp;
import com.yugao.fintech.antelope.auth.model.rqrs.ldp.ExtLdpConnectSaveReq;
import com.yugao.fintech.antelope.auth.model.rqrs.ldp.ExtLdpConnectUpdateReq;
import org.mapstruct.Mapper;

/**
 * 身份源连接
 */
@Mapper(componentModel = "spring")
public interface ExtLdpConnectAssembly {
  ExtLdpConnectResp toConnectResp(ExtLdpConnect source);
  
  ExtLdpConnect toConnect(ExtLdpConnectSaveReq source);
  
  ExtLdpConnect toConnect(ExtLdpConnectUpdateReq source);
}
